package com.me.jingdongshop.ui.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.me.common.ui.BaseAdapterRV;
import com.me.common.ui.BaseHolderRV;
import com.me.jingdongshop.model.bean.Home;
import com.me.jingdongshop.ui.holder.HomeHolder;

import java.util.List;

/**
 * Created by wuer on 2017/5/5/005.
 */

public class HomeAdapter extends BaseAdapterRV<List<Home.HomeTopicBean>> {
    public HomeAdapter(Context context, List<List<Home.HomeTopicBean>> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolderRV<List<Home.HomeTopicBean>> createViewHolder(Context context, ViewGroup parent, int viewType) {
        return new HomeHolder(context,parent,this,viewType);
    }
}
